import json

class Obj:
    def __init__(self, a, b, c, d, e):
        self.a = a
        self.b = b
        self.c = c
        self.d = d
        self.e = e
    def __str__(self):
        return "a:{},b:{},c:{},d:{},e:{}".format(self.a,self.b,self.c,self.d,self.e)

jsonData = '{"a":1,"b":2,"c":3,"d":4,"e":5}'
text = json.loads(jsonData)
print(type(text))
print(text["a"])
print(text)

obj = Obj(text['a'],text['b'],text['c'],text['d'],text['e'])
print(obj)



